working on database transfer