add destroy logic