shuffle written and working