Started documenting the functions
More docs