latest version
updated to use static method
use default config