fixed the bug with tables and tried a test input