reshuffling classes, added hints