changed the upper bound for the occupancy to 5