solve herd