changed velocity stuff, still not working quite right.