Separate input from output