added result view and template