Implemented some UI parts