Using database reflection
Added database reflection