Please remove the grammar problems from the following sentence:
In addition, rail switches is used to maximize the usage of the tracks.
In addition, rail switches were used to maximize the usage of the tracks.