changed el to el[0] in vel