Refactoring: changed 'offline' to 'local'