class assignments fetched when clicked, not all at once