Removed simulation code