added supporting of bounding boxes