added attraction to velocity