adding delete
swag++
adding delete and better error handling