using webUI to control