adding code of elevator