simulation using Extendsim