support for libver 15, streamlined code