init rep structure