add calendar funtionality