add some parsing helpers