added some parse function