add function to stop generating new lists when used key words -gen