move array_values into get method