just a simulation of process using ror