rudimentary percentage table processing