Add delete functionality. Not tested yet