Working, dynamic, implementation of UI