added possibility to differentiate between subtracting avg vel and not