refactoring; check indicator while reading csv