add pry for debugging