acknowledge duplicate code in tables