pass a variable (which is a number) to the :gt(index) pseudo-selector ?

pass a variable (which is a number) to the :gt(index) pseudo-selector ?

Hello,

I am trying to pass a variable (which is a number) to the :gt(index) pseudo-selector.
  1. var thisParentIndex = $(this).parent().index(); //get the index of parent
  2.         console.log(thisParentIndex);
  3.         $(this).parent().parent().find('div.line:gt(' + thisParentIndex + ')').hide();
this does not appear to work...
Any ideas as to what I am doing wrong? I am pulling my hair out :P

cheers,

Greg