implemented ui prototype