faststate interface with primitive types