New method :getting syntax error