changed managedProperty to inject