put function calls under if __name__ == "__main__":