move shuffle to helpers