class Light implemented