I think it's better to create a calendar in each loop and change the configure method to be the constructor