added basic trait inject