output blocks before