modify predict