R stub for Ivan