Add new ask function (currently only finds one solution).