UPDATED library