delete function that is not needed