getting closer, boolean in table still buggy
table finished, boolean is working