added cday and m to table