Add new function for class fee and competition