adding generation in cli