started function for iterating var sel RF