extend example to include account status output