this should be var table = ...