sets up basic template