Add descriptor calculation