updated syntax http://stackoverflow.com/questions/6964876/ruby-1-9-1-syntax-error