output to separate methods