added sql stuff