reafactor ui