Calculating the signature not as easy as it seemed originally