added templates for scan stuff