add cursor code to forecast fragment and ketchup