first commit with simulation code