Fixed bug in send names function

shuffle was not working correctly.  bug fixed.