Added state to check complete rows.