minor changes pat