main code in  if __name__ == "__main__" idiom