featuresCAl function added