this is now writing out the first and second tidy data correctly