generating home controller