Housing lab, functions and loops