Delete Function works now