messed up % calculation (should also round probably)