Text this: Application of modified genetic algorithm in process optimisation