added elevator door helper functions.