finished init database table