updated library, added resetOrder style