values must be an array