styling and production flag for recursion