prediction working