added initial delete functionality