Added a pause boolean.