commented a method that gave errors