implemented bounding