add auto-predict