In this paper we present a cellular automata model for one-lane traffic flow. The update rules of velocity of a car depend not only on the positions of this car and the car ahead of it, but also on the velocities of the two cars. Using computer simulations we obtain some basic qualitative results and the fundamental diagram of the proposed model. In comparison with those of the existing models in the literature, we find that the fundamental diagram of the proposed model is more consistent with the results measured in the real traffic, and the model is able to reproduce some relevant macroscopic states that are found in the real traffic flow but cannot be predicted by the existing models.