adding preview mode to househtml