I have read about generators but couldn't possibly think about the real time problem to use it as in best solution.