parsing nearly works