var geologyapp = new geologicaldataapp(); geologyapp.preconsultativesession(() => { var passwordgenerator = new securepasswordgenerator(); console.writeline("we'll start from scratch and shrug off any confusion with clear explanations on rock formations."); var password = passwordgenerator.generatestrongpassword(); geologyapp.setaccesscredentials(password); });