Diploma work. first part of user interface work!