added clearOccupants method