updated for latest wclib