add template.inwater, not tested