Code and images for CTP