made calendar a var