pass strings by reference