First version simulator working