added pry on delete