Add basic io pattern