3dfern : basic structure