fixed sample view to match changes in last commit