adding tupal accessor, fix general parse errors