begining to integrate mysql functions into common db method set