Is there anything that I need to do different with float because it keeps evaluating to the first item in the array.