work on cal using XDate