completed most of simple UI