output intermediate images