laying down groundwork for mysql shit