added show placeholder functionality