html method handles each