creates correct output for current spec