Changing name of variable to return calendar functionality