db-con should not be passed in just to create an fn