Gerhard's thesis work and other useful stuff