Avoid global state