add ostream library for debug