svg main and table