delete unnecessary functions