ADD IOSTREAM AND NAMESPACE