delete method. tips from awesome people. still one nil error to track down