added type for boundingbox