Made it repeat until process termination