def __init__(self,
                 # general properties
                 rewardlogic,                                   # reward handling logic
                 watcher = None,                                # optional event watcher
                 focused = True,                               # whether this task is currently focused
                 markerbase = 1,                                # markers markerbase..markerbase+6 are used                       
                 event_interval=lambda: random.uniform(45,85),  # interval between two successive events

                 # cueing control
                 cueobj = None,                                 # an object that might have .iscued set to true

                 # graphics parameters
                 pic_off='light_off.png',                       # picture to display for the disabled light
                 pic_on='light_on.png',                         # picture to display for the enabled light
                 screen_offset=0,                               # offset to position this icon on one of the three screens
                 pic_params={'pos':[0,0],'scale':0.15},          # parameters for the picture() command
                 snd_params={'volume':0.3,'direction':0.0},     # parameters for the sound() command