added new functions, procedural house test