The code tested. To make the code more modular finished.