made running variable a boolean