first prototype of set controller