Attached Meli's functions for IOD