Started work on simulation logic.