add method that does job of selecter OS  for all-cross platforms