started implementing database