nested data defs repeating and non