Cursor in for in