mockup recursion for nested frames