working on preview templates