finished basic template