add .as file for nested for loop