building a simple UI