fixed timing so velocity == 0, not -1