Coding the UI part 1