1. change the predict function