working transformation with cam in two steps