adding the bounding box case