conversion into mysqli started