Added converter for mod 3 and 4.