instead of using `[0]`, use `$acceptValue = reset($acceptValues);`