Declare db variable