Tranclate to class