implemented crude ui