updated basic template