removed html method from view