Changed state field to localflavor