lib models