added ui diagram