q2 output and validation