further enhancement of ui in classes