pc working in data sim, added control logic