Data gen, functions, sync, etc.