Completed tidy data script