changed sample input