delete unnecessary funcitons