Adding Result class