Add logic to implement delete branch
Rename delete function
Add semicolon