Added pry for debugging