adding explanation of Copysign call