calculate remaining values
make floats so that the percentage is right