Emptied input and output