added closeDoors() method