Reading features and changing to numbers