add resource coding bat