variants is now local state