broken on line 53 of undefined method for nil class