Adding some quick doc to the functions