day2: implement a clean, modularised strict_table