added base delete functionality