prediction implemented