The counterweight is located in the hoist-way and rides a separate rail system ; as the car goes up , the counterweight goes down , and vice versa . The counterweight is located in the hoist-way and rides a separate railway system ; as the car goes up , the counterweight goes down , and vice versa .