finished the artefacts code

finished the artefacts code