get rid of vector dependency