remove unnecessary bracket depth
wrap statics in anonymous namespace