minor refactor on a method, removed a binding.pry