initializing library