token parsing now kinda works