added functoin to identify list type