uses variable for local calendar