output validation