without macro, the implemention ofruntime class