Adding delete, now working correctly