input output works now