coding for split of tables each month