Added bounding box stuff