added prompt and procedure.