Implementing calerndar sample