removed pry debugging