Added bounding functionality