removed binding pry and rescue block