move forecast stuff to utils