began csv manipulation functions