mofidy logic