required my solution instead of given soln in rspec