two functions for peer assessment