added markdown markers and corrected template logic
added markdown
added layer of complexity
added test markers