trying to get this job to use the db