added well-formed qw UI