this makes more sense because both functions are only called once and can't be chained as I initially thought.