a light rays comes when a door opens