getFeatures definition added