removing unused simulation code