Added method inject