add documentation to bounds functions