writes data using series struct (multiple entries)