added framework for ui