Output method added