add funtions to handle pcr artifacts