Templates and multi processing