Added occupancy functions