delte function added