input output boxes working