Code ready for Simulation testing.