Moved add house to function