separate class for parsing results