added persistent states