Enhanced code, better implementation of elevator and panel