Change variable port name and use setSpeed method