got the destroy button to work