first version of simuliator is finished.