added results calculation