I made a blueprint for this situation but it also is for a fan. You can probably look it over and figure this out.