return the calendar rather than echo it