Removed unnecessary pause() calls.