almost ready for ui