parser implemented, some things look to be fixed