since we're streamlining the functions into one, let's just do `function replacement`