adding docblock for generateBypassCodes