basic tabel testing function in place