Added code for direct velocity manipulation