make it more rubyish