Add velocity as a private variable