implemented new ui framework