using typeof instead of || in the mix functions since 0 is a valid value
version bump