db access test in extra function