add documentation to activity class