hardware used for input and output