hierarchicallayout2 example working