added shouldShowPart