takes percentages
minimums and maximums