vm not also works with arrays of ints and floats