call parse function