slide templating now working