modifying asGen, not finished