added better documentation for new class