Added some documentation to functions