use library constructor instead of obsolete _init