Partial code for SLR Db Integration