store message prompt in hashtable