adding calendar generation, probably not working