Unused variable 'running' removed