added elevator.c