naive error handle
modi
modi file structure