replace with a new library