database begining