some initial steps with db