main code inject