added documentation for utility functions/classes