#0020 Medium Logic

A woman turns off the light in her bedroom and manages to get into bed before the room is dark. The bed is 5 meters from the light switch. How does she do it?