made orderedsuperarray and added shifting from website