implemented map bounds