class Appl reworked.