modified inject