Tools for the ctf