replace layers list with table