Added prediction algorithms