also, keep track of velocity