public synchronized int move() {
        if (here == FLOORS - 1)
            direction = -1;
        else if (here == 0)
            direction = 1;

        there += direction;
        return there;
    }