The the next Harry Potter video game will now allow transgender characters.

Taking a stride towards inclusivity, the video game will now allow players to customize their character’s voice, body type and gender placement for the school dormitories.

This development has occurred after several recent controversies stemming from comments by series creator J.K. Rowling that were seen as transphobic.

Hogwarts Legacy is scheduled for 2022 release from publisher Warner Bros. Interactive Entertainment Inc. and developer Avalanche Software.

According to people familiar with the game’s development, when players start up the game, they will be able to create a character that has a masculine or feminine voice no matter what their body looks like.

The people requested anonymity because they weren’t authorized to speak to the press, Aljazeera reports.