James/Elisa - adding logging and removing binding.pry