working on elevator example