testing conditional cursor.