very first implementation of ui