fixed an erroneous swap of 'category' for 'difficulty'