added bounding box and loc stuff