integration refactoring

static import could be used here, which will make code more readable.