add API for address injection