new library: rest