some stuff for Period dayd