removed dependency on prompt