put in shifting and isort (not sure about that)