Added view functionality to fetch results