pass const strings by reference. closes #33