- added dima optimization