adding renderCompanions method for non-cli context + adding notes