method parsing