if its not defined on a per loop basis we should probably only define it once