View state connect