cont working with UI