added Result class