Implemented changes to check occupied.