removed console log and pulling DB