Work on simulation mode