just a try to write UI code in lua