Changing to value-based input, instead of making client calculate percentage