add method to get forecast from period