please add jsdoc and mention that this function will be used as ilibAres