Added elevator threading