adjust occupant function