added the ability to upload data via csv