use centralized instrument instantiation
fix type writer flow
implement set data