parsing Method