Added if __name__ section for testing