output to master