basic ts parsing WIP