added rpec to rakefile
made methods not modify the arg