place deprecation formatter at the start