added some more parsing functions