made showPlaceholder private