Add for loop compile