passing a class is for geting a diploma