Changed order of definitions. Added type.
Fixed floats.