added ViewFactory back