Fixed a bug.
Added prediction.