setPlaceHolder method added and tested