export parse function directly