add helper function to cleaned data