Building the feature data