Add delete logic and optimized code