Adding database connection callback
Lowering line resolution