DataRepo register function implemented