added code to generate empty days