simulation is woring
minor changes