Bringing code by P. Tichavsky