first working shuffler and nested data structures