Added int x in tRod main class