added some dummy functions for sql stuff