added injection code