working boundingbox