calendar reads data and renders