Modified the interfaces for output