Core encoding