changed to read via csv