only apply static class if necessary