add method for setting the prompt label