Start writing the unit tests for your existing code in a functional programming language