More changes

Added delete function