added first attempt at prediction, still some odd behavior when target is first created