use floats for percent calculation