add injection and config