added support for special state "*"