updated addGraphFeatures and changed parameter evaluation