public int getboolean(string str)
{
  if (str=="True")
     return 1;
  else
    return 0;
}