Changed states to has to resolve rubocop issue.