BIG REFACTOR making the system able to work with features returning an array of values