added gradebook functionality