recursive walk and db creation working