Create stored proc for toilet state