grouped the functions together and added a comment function with examples
grouped the functions together and added a comment function with examples