code refactoring : use static imports