inBound function for Map class