In line 35 the syntax <code>respond_to? k</code> isn't syntactically correct because it's part of a conditional line