template now generated as expected. still not writing to game view though.