possible to set custom value instead of percentage

If you want, you could do the same changes instead of making a pull, I hope it is ok with you about the changes I made