support non-integer values for alpha