added door activation functionality