made some changes to allow compilation - home controller test passes