added in bounding box
added in bounding box functions