do this before data engineering