headlight bulb sockets can also go bad - wiggle the socket on the bulb with the lights turned on.