inject an object