how an rv works