Add insert and commit. Add max.