call to init database