encapsulate set controller view