adding simulation code