Is there a way to make the value that is being calculated stop at 0?