added dbResult to reduce SQL calls