refact the new UI framework