adding layout of localDB