added toilet allocation logic