Refractor code.
Refractor code.
Fix subsitution.
Pass three unit test.