implement tables
tweak UI