Added prediction fx to std code