Made pause optional