Dao main edit