improve UI
update syntax
add table header and footer