price parser implementation