some infrastructure twiddling