added sign bit operation