Finally starting my own code of translator for simulation