to complete: training step and assigning the top class appliance