more sql additions