Result view controller implementation part 1