fixed delete - more efficient now.