Added bath logic.