added back in a prompt hook