modified view to print or fetch when needed