Preparing template implementation