adding jdbc functions