Added getValidDoors method