parse string
cleanup
use reference when passing string
separate string tokenization
add test for string parsing
fix string parsing