added const refs to string params