added cout def