version for simulation only