create UI and it's function
resolve conflicts