viwe controller