better initialization of lib
started using default options