updated for changed library