working prediction, but tangled up with other parameters