Added the pol parse function