add prompt as dependency