shaping the ui