new home class + loop