using ifndef and its working correctly