finalize calendar