In order to do what you want you have to make sure you have a 14/3 Romex up at the fan. Check that first.