changed minisql