safe version of mkJ