Added calendar functionality