adding pry for debugging