dbAdapter first step