with small database