Getting basic io to work