trying to fix velocity