output method