pics and templating and error etc