replace debugger with pry