changes parameters to be std::string and passed by const ref as they are all required
whitespace