pushing with predict function working