Nintendo is adding a new layer of security to its online accounts: users can now enable two-factor authentication to prevent unauthorized access.

To enable the authentication method, users are prompted to download Google Authenticator, which will provide them with a code when logging in.

The move is long overdue. Sony implemented two-factor authentication last year after a number of hacks that compromised user details, while other companies such as Steam and Microsoft have utilized the system for years.

Two-factor authentication is an extra layer of security for online accounts, which verifies a login attempt with a phone or an e-mail. It’s not foolproof, but it does help add some additional protection. Here’s how to add it to your other devices.