Commit DAO functionality implemented not tested fully