rm old functions