preparing for def flow function, updated parse to handle cstrings and added some def test