Documentation for helper functions added