Prevent variables from overwriting each other