working on shuffle funcytion