add pry for debug