scanning templates