implemented basic template outline