added UIManager and example