changed horizontal spacing, env, removed other for loop, generator