make mainfludag works