updated ifndef in main