Moved variables to SimX