adds view for result