library ExtendedMath {

    //return the smaller of the two inputs (a or b)
    function limitLessThan(uint a, uint b) internal pure returns (uint c) {

        if(a > b) return b;

        return a;

    }
}
function limitLessThan(uint a, uint b) internal pure returns (uint c) {

    if(a > b) return b;

    return a;

}

//return the smaller of the two inputs (a or b)