added promptinit