Input output implemented with interface.