copied output from master