minor update to view logic