adapted legacy function to current ac-signature