change function declare syntax
update prompt setting