recodeing initial db