converted arrayList to store floats instead of ints