adding iterative sample input