Code templates needed from IEEEXtreme