fixed collisions and made box velocity a field