very crude setup of the ui, needs to have some js sweetness to it to prevent all these full lookups