add codes to draw door instead of a box