add pry to investigate