UI main function and data and tag work(not finish)