changed the method of adding doors