added loader and made velocity values ints