delete function added