First go at substitution.