used LambdaReflection project
implemented state mappings