Mainly modified assignPlaceholder() to allow setting content