still on lib db functions