fixing the bug addFeatures() takes at most 4 arguments (5 given)