add mysql efficiency