sample data input/output changed after suggestions