When to use static