added bounding box logic
implemented minimap