set up forecast functionality