added method for publishing grades