Scratchpad:Understanding template classification