remove calls to pry in code