add course output method