creating user interface