replaced underscore with loadash; loop query interface started