final class code