basic template structures set up