change output method