modified hierarchy