added def new to competition.rb