use floats instead of decimals where needed