db types first