TMP to decrease a number of view/window::create functions