tracking down bugs in handling artefacts