Make/get database method