added ifndef flags