add documentation to functions