prepare calendar