Implemented prediction