add basic documentation to all functions