package view with hierarchy