added console prompt method for convenience