finish simple simulator