parsing method added