hierarchy works