added class/function docs