better error messaging and some feature file formatting