add 'ifread' to API