added negative to positive rearrange